<template>
    <div>
        <el-menu
            default-active="2"
            router
            class="el-menu-vertical-demo"
            background-color="#aadc01"
            text-color="#fff"
            active-text-color="#ffd04b"
        >
            <el-menu-item index="1">
                <h3>淘物后台管理界面</h3>
            </el-menu-item>
            <!-- <el-menu-item index="/dashBoard">
        <i class="el-icon-s-data"></i>
        <span slot="title">统计图标</span>
      </el-menu-item> -->
            <el-submenu index="2">
                <template slot="title">
                    <i class="el-icon-location"></i>
                    <span>用户管理</span>
                </template>
                <el-menu-item index="/admin_userControl">用户列表</el-menu-item>
            </el-submenu>
            <el-submenu index="3">
                <template slot="title">
                    <i class="el-icon-location"></i>
                    <span>商品管理</span>
                </template>
                <el-menu-item index="/admin_goodsControl"
                    >商品列表</el-menu-item
                >
            </el-submenu>
            <!-- <el-submenu index="5">
        <template slot="title">
          <i class="el-icon-location"></i>
          <span>租赁商品管理</span>
        </template>
        <el-menu-item index="/product">租赁商品列表</el-menu-item>
      </el-submenu> -->
        </el-menu>
    </div>
</template>

<script>
export default {
    name: "Aside",

    data() {
        return {};
    },

    mounted() {},

    methods: {},
};
</script>

<style scoped></style>
